package com.library.uiframework.utils;

import android.content.Context;


/**
 * @author xinpeng.xiao
 * @version 1.0.0
 *          Created by xinpeng.xiao on 2015/3/31.
 * 全局的Context。需在Aplication中初始化。其他地方只需要调用即可
 */
public class ContextUtils {
    private static Context sContext;

    /**
     *
     * @param context context, 设置全局的Context
     */
    public static void setContext(Context context) {
        sContext = context;
    }

    /**
     * @return Context， 获取全局的Context
     */
    public static Context getContext() {
        return sContext;
    }
}
